<!doctype html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>我的帖子</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="../libs/mui/mui.css"/>		
		<link rel="stylesheet" href="../libs/iconfont/fonts/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="../css/main.css"/>
		<link rel="stylesheet" type="text/css" href="../css/imageviewer.css"/>
		<style>
			/*图片*/
			.mui-table-view .mui-media-object.touxiang{border-radius: 100%; height: 40px !important; max-width:40px !important; line-height: 40px !important;}
			.mui-media-object{height: 70px !important; max-width: 70px !important; line-height: 60px !important;margin-right: 5px;}
			.mui-table-view-cell p{font-size: 14px;}
			.mui-table-view-cell>a:not(.mui-btn){white-space:normal;}			
			.tie{font-size: 16px;padding-bottom: 10px;}
			.mui-table-view.mui-grid-view .mui-table-view-cell{width: 100%;padding: 11px 15px;margin: 0;padding-bottom: 0px;text-align: left;}
			.mui-table-view.mui-grid-view li:nth-child(2){padding-bottom: 11px;}
			.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body{width: 80%;height: 40px;text-align: left;}
			/*.mui-media-body button{border: none;}*/ 
			/*评论*/
			.Comment div{width: 33.33%;float: left;text-align: center;border-right: 1px solid #AAAAAA;color: #AAAAAA;}
			.Comment div:nth-child(3){border: none;}
			.Comment div a{color: #AAAAAA;}
			.Comment div i{font-size: 1.3em;}
			.Comment div b{font-size: 1em;}
			/*弹窗*/		
			.mui-popover {width: 200px;height: 140px;}	
			/*弹窗*/
      		.alert{ display:none;position: fixed;right: 0;left: 0; bottom: 0;z-index: 1000; }      
        	.alert-back{position: fixed;z-index: 998;top: 0;right: 0;bottom: 0;left: 0;background: rgba(0,0,0,.5);display:none;}
			/*头部*/		
	</style>
	</head>
	<body ng-app="App" ng-controller="circleController">
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">我的帖子</h1>			
		</header> 
		<div class="mui-content"> 
			<div ng-repeat="(cindex,c) in circles" class="Circle friend{{cindex}}">
				<ul class="mui-table-view mui-grid-view">
					<li class="mui-table-view-cell tie">
						<img class="mui-media-object touxiang mui-pull-left" src="{{c.avatar}}">
						<div class="mui-media-body">
							<span class="mui-h5 back">{{c.member_name}}</span>
							<span class="mui-pull-right gray" ng-click="gray_friend(c.theme_id,c.circle_id,cindex)">删除</span>
							<h6>{{c.theme_addtime_app}}</h6>
						</div>
					</li>
					<li class="mui-table-view-cell" onclick="gotoDetail(this)" t_id="{{c.theme_id}}" c_id="{{c.circle_id}}">
						<div class="tie">{{c.theme_content}}</div> 
						<span ng-repeat="img in c.thclass_images"> 	
							<img class="mui-media-object"src="{{img}}" data-preview-src="{{img.affix_filename}}" data-preview-group="1"/>
						</span>
					</li>
				</ul> 
				<ul class="mui-table-view Comment"> 
					<li class="mui-table-view-cell"> 
						<div class="like{{cindex}}" ng-click="theme_onlike(c.theme_id,c.circle_id,c.theme_nolike,cindex)">
							<i class="mui-icon iconfont" ng-if='c.theme_nolike===1'>&#xe614;</i>
	        				<i class="mui-icon iconfont" ng-if='c.theme_nolike===0'>&#xe616;</i>
							<b class="likecount">{{c.theme_likecount}}</b>
						</div>
						<div class="Friends" ng-click="theme_Friends(c.theme_id,c.circle_id)">
							<i class="mui-icon iconfont">&#xe60c;</i>
							<b>{{c.theme_commentcount}}</b>
						</div>
						<div class="fenx">
							<a class="shre_btn share{{cindex}}" ng-click="share_friend(c.theme_id,c.circle_id,cindex)">
								<i class="mui-icon iconfont">&#xe612;</i>
								<b class="share_count">{{c.theme_sharecount}}</b>
							</a>
						</div>
					</li>
				</ul>
			</div>
			<!--<div class="Circle">
				<ul class="mui-table-view mui-grid-view">
					<li class="mui-table-view-cell" >
						<img class="mui-media-object touxiang mui-pull-left" src="../doc/2.jpg">
						<div class="mui-media-body">
							<span class="mui-h5 back">杨洋</span>	
							<span class="mui-pull-right gray">删除</span>
							<h6>1小时前</h6>								
						</div>
					</li>
					<li class="mui-table-view-cell" >
						<div class="tie">用了一段时间才来评价，速度确实快了很多，触底反应也很快。</div>
						<span>
							<img class="mui-media-object" src="../public/img/18.jpg" data-preview-src="" data-preview-group="2"/>
							<img class="mui-media-object"src="../public/img/19.jpg" data-preview-src="" data-preview-group="2"/>																					
						</span>
					</li>
				</ul>
				<ul class="mui-table-view Comment">
					<li class="mui-table-view-cell">
						<div>
							<i class="mui-icon iconfont">&#xe614;</i>
							<b>200</b>
						</div>
						<div onclick="openNewPage('Friends_details.html')">
							<i class="mui-icon iconfont">&#xe60c;</i>
							<b>20</b>
						</div>
						<div>
							<a href="#picture">
								<i class="mui-icon iconfont">&#xe612;</i>
								<b>20</b>
							</a>
						</div>
					</li>
				</ul>
			</div>	-->
		</div>		
		<!--分享-->
		<!--分享-->
	    <div class="alert brand-share">
	      <ul class="background table-view">
				<li><i class="iconfont lvs weixin">&#xe609;</i>
					<span>微信</span>
				</li>
				<li><i class="iconfont ify4 qq">&#xe658;</i>
					<span>QQ好友</span>
				</li>
				<li><i class="iconfont lvs friends">&#xe65f;</i>
					<span>朋友圈</span>
				</li>
				<li><i class="iconfont ify3 micro-blog">&#xe661;</i>
					<span>微博</span>
				</li>
			</ul>
	    </div> 
	    <div class="alert-back"></div>
		<script src="../js/mui.js"></script>
		<script src="../js/open.js"></script>
		<script src="../libs/jquery/jquery.js"></script>	
		<script src="../js/mui.zoom.js"></script>
		<script src="../js/mui.previewimage.js"></script>
		<script type="text/javascript" src="../js/web_js/public.js" ></script>
		<script type="text/javascript" src="../js/angular.js" ></script>
		<script src="../js/web_js/personal_posit.js"></script>
		<script type="text/javascript" src="../js/web_js/share_friend.js" ></script>
		<script>
			mui.previewImage();
			$(".fenx").on("tap",function(){
		        $(".alert-back").toggle();
		        $(".alert").slideToggle();
		      })
		      $(".alert-back").on("click",function(){
		        $(".alert").hide();
		        $(".alert-back").hide();
		      }) 
		</script>
	</body>
</html>